import { RequestHandler } from 'express';
import { req_info_cur_user_disactive_uni_float } from '../Classes/cla_req_info_cur_user_disactive_uni_float';
import { update_cur_user_uni_float_identity_type_active_not_use } from '../Func/update_cur_user_uni_float_identity_type_active_not_use';
import { res_send_uni_float_disactive } from '../Classes/cla_res_send_uni_float_disactive';
import { log_info_cur_user_disactive_uni_float } from '../Func/Log_info';
/**
 * 这个 返回 一个 组件列 的 模拟元素
 */
export const disactive_uni_float: RequestHandler = async (req, res) => {
  let cur_disactive_info = new req_info_cur_user_disactive_uni_float(req);

  let update_id_arr =
    await update_cur_user_uni_float_identity_type_active_not_use(
      cur_disactive_info
    );

  log_info_cur_user_disactive_uni_float(cur_disactive_info);

  let res_send = new res_send_uni_float_disactive(update_id_arr);

  res.send(res_send);
};
